import 'dart:io';

import 'package:dartkit/dartkit.dart';
import 'package:test/test.dart';

main() {
  final File testFile = File(".test_file_writer.json");
  final RawableWriter<PseudoPeople> writer = FileWriterRawable(
    file: testFile,
    unzip: (str) => PseudoPeople.fromRaw(str),
  );

  // 每个测试结束的时候都删除文件
  tearDown(() => testFile.deleteIf());
  testRawableWriter(writer);
}
